home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / windows / qo1bw95.zip / BATCH / COMM.BAT < prev    next >
DOS Batch File  |  1996-07-07  |  371b  |  23 lines

  1. @REM add your extra drives here with this format  ---  "%1" == "mydrive:\" 
  2. @REM make an uppercase line and a lowercase line
  3.  
  4. @if %1% == "a:" goto drive
  5. @if %1% == "A:" goto drive
  6. @if %1% == "b:" goto drive
  7. @if %1% == "B:" goto drive
  8. @if %1% == "C:" goto drive
  9. @if %1% == "c:" goto drive
  10.  
  11.  
  12. :nondrive
  13. @cd\
  14. @cd %1
  15. @cls
  16. @goto end
  17.  
  18. :drive
  19. %1
  20. @cls
  21.  
  22. :end
  23.